﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AssemblyCYG
{
    public partial class AdminLogin : Form
    {
        public string password = "";
        public bool isInputPassword = false;
        public AdminLogin()
        {
            InitializeComponent();
            this.textBox1.Multiline = false;
            this.textBox1.PasswordChar = '*';
            this.textBox1.TabIndex = 0;
            this.textBox1.Focus();
        }

        private void btn_confirm_Click(object sender, EventArgs e)
        {
            isInputPassword = true;
            password = this.textBox1.Text;
            this.Close();
        }

        private void btn_quit_Click(object sender, EventArgs e)
        {
            isInputPassword = false;
            this.Close();
        }
    }
}
